/**
 * Copyright 2016-2018 mobaas.com
 */
package com.mobaas.devops.model;

import java.util.Date;

/**
 * 
 * @author billy zhang
 * 
 */
public class AccessLog {

	private int id;
    private Date time;   
    private String appId;
    private String host;  
	private String path;  
	private String query;
    private String remoteAddr; 
    private int status; 
    private int bodyBytesSent;
    private String upstreamHost;
    private int upstreamStatus;
    private int upstreamResponseTime;
    private String country;
    private String province;
    private String city;
    private String isp;
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	
	public String getQuery() {
		return query;
	}
	public void setQuery(String query) {
		this.query = query;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	
	public String getRemoteAddr() {
		return remoteAddr;
	}
	public void setRemoteAddr(String remoteAddr) {
		this.remoteAddr = remoteAddr;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	public int getBodyBytesSent() {
		return bodyBytesSent;
	}
	public void setBodyBytesSent(int bodyBytesSent) {
		this.bodyBytesSent = bodyBytesSent;
	}

	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getIsp() {
		return isp;
	}
	public void setIsp(String isp) {
		this.isp = isp;
	}
	public String getUpstreamHost() {
		return upstreamHost;
	}
	public void setUpstreamHost(String upstreamHost) {
		this.upstreamHost = upstreamHost;
	}
	public int getUpstreamStatus() {
		return upstreamStatus;
	}
	public void setUpstreamStatus(int upstreamStatus) {
		this.upstreamStatus = upstreamStatus;
	}
	public int getUpstreamResponseTime() {
		return upstreamResponseTime;
	}
	public void setUpstreamResponseTime(int upstreamResponseTime) {
		this.upstreamResponseTime = upstreamResponseTime;
	}
    
    
}
